﻿<Window x:Class="VisionTestApp2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
	<Window.Resources>
		<DataTemplate x:Key="ImagePyramidListDataTemplate">
			<Image Source="{Binding Mode=OneWay}"/>
		</DataTemplate>
        <DataTemplate x:Key="ImagePyramidListDataTemplate2">
            <Image Source="{Binding Mode=OneWay}"/>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <DockPanel>
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom">
                <Button x:Name="LoadSourceImage" Content="Load Source Image" Click="LoadSourceImage_Click" />
                <Button x:Name="LoadTemplateImage" Content="Load Template Image" Click="LoadTemplateImage_Click" />
                <Button x:Name="DoCorrelation" Content="Do Simple Correlation" Click="DoCorrelation_Click" />
                <Button x:Name="DoForwardAdditive" Content="Forward additive" Click="DoForwardAdditive_Click" />
            </StackPanel>
            <TabControl>
                <TabItem Header="Source Image">
                    <Image x:Name="SourceImage"></Image>
                </TabItem>
                <TabItem Header="Template Image">
                    <Image x:Name="TemplateImage"></Image>
                </TabItem>
                <TabItem Header="Result Basic">
                    <StackPanel>
                        <Image x:Name="ResultBasicImage"></Image>
                        <TextBlock Text="Theta"/><TextBox Text="{Binding Pose.Theta}"/>
                        <TextBlock Text="X"/><TextBox Text="{Binding Pose.X}"/>
                        <TextBlock Text="Y"/><TextBox Text="{Binding Pose.Y}"/>
                        <TextBlock Text="Score"/><TextBox Text="{Binding Pose.Score}"/>
                    </StackPanel>
                    
                </TabItem>
            </TabControl>
        </DockPanel>
        
    </Grid>
</Window>
